package com.sunop.pantiproblem.model;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class ProblemPageQueryDTO {
    private int pageNum;
    private int pageSize;
    private String difficulty;
    private String tag;
    private String sortBy = "id";// 排序字段 not null(id, comment_num, submit_num, pass_num)
    private String orderBy = "asc";// 排序方式 not null (asc, desc)
}
